/**
 * @file QmlGuiGlobal.h
 * @author rui.liang (rui.liang@ruhnix.com)
 * @brief 
 * @version 1.0
 * @date 2025-10-19
 * 
 * @copyright Copyright (c) 2025
 * 
 */

#pragma once
#include <QtCore/qglobal.h>

// 如果编成静态库，导出宏应为空
#if defined(GUIQML_STATIC)
#define GUIQML_EXPORT
#else
#if defined(GUIQML_LIBRARY) // 只在构建 guiqml.dll 目标时定义
#define GUIQML_EXPORT Q_DECL_EXPORT
#else // 其他目标使用 guiqml.dll 时
#define GUIQML_EXPORT Q_DECL_IMPORT
#endif
#endif
